package com.app.service.imessage;

import com.app.model.main.UserInfo;
import org.junit.Test;

import static org.junit.Assert.*;

/**
 * Created by Lichaojie on 2017/5/7. It's a beautiful day.
 */
public class IMServiceTest {

    @Test
    public void testDoMain() throws Exception {
        IMService imService = new IMService();

        System.out.println(">>> : " + imService.doMain("adminzhuo"));
    }

    @Test
    public void testSetInfo() throws Exception {
        IMService imService = new IMService();

        UserInfo userInfo = new UserInfo();
        userInfo.setId(1l)
                .setAvator(3l)
                .setGender((byte)0)
                .setNickName("nickname99");

        imService.setInfo(userInfo);
    }
}